package com.partner.match;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.session.data.redis.RedisFlushMode;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession(redisFlushMode = RedisFlushMode.IMMEDIATE)
@SpringBootApplication
@MapperScan("com.partner.match.mapper")
@EnableScheduling // 开启定时任务支持
public class PartnerMatchBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(PartnerMatchBackendApplication.class, args);
    }

}
